package com.gltc.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.gltc.dao.PhotoAuthUploadDao;
import com.gltc.entities.PhotoAuthUpload;
import com.gltc.service.PhotoAuthUploadService;

@Service
@Transactional
public class PhotoAuthUploadServiceImpl implements PhotoAuthUploadService {

	@Autowired
	private PhotoAuthUploadDao authUploadDao;
	
	public List<PhotoAuthUpload> getPhotoLogformLog(int page, int size){
		
		return authUploadDao.getPhotoLogformLog(page, size);
	}

	@Override
	public int getPhotoLogCount() {
		// TODO Auto-generated method stub
		return authUploadDao.getPhotoLogCount();
	}

	@Override
	public boolean addPhotoLog(PhotoAuthUpload authUpload) {
		// TODO Auto-generated method stub
		return authUploadDao.addPhotoLog(authUpload);
	}
}
